package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.commodity.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CommodityIPageReqVO extends PageParam {

    @Schema(description = "商品类型 1商品 2抵扣券 3核销券", example = "1")
    private Long storeType;
    @Schema(description = "订单号", example = "张三")
    private String orderNumber;

    @Schema(description = "收件人姓名", example = "张三")
    private String name;

    @Schema(description = "商品名称", example = "张三")
    private String storeName;

    @Schema(description = "商品所属分类", example = "1")
    private Long storeCategoryId;

    @Schema(description = "长者姓名")
    private String oldmanName;
    @Schema(description = "长者身份证")
    private String oldmanCard;

    @Schema(description = "地区")
    private String areaName;

    @Schema(description = "真实姓名")
    private String userName;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "商品所需积分", example = "张三")
    private String storePoint;

    @Schema(description = "状态 1处理中 2已使用 3未使用 4已收货 ")
    private Long status;

    @Schema(description = "其他信息")
    private String others;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "登录userid")
    private Long userId;

}
